
/**
 * Handle changed data.
 *
 * @param {Number} oldValue old value
 * @param {Number} newValue new value
 * @param {JSEvent} event the event that triggered the action
 *
 * @returns {Boolean}
 *
 * @properties={typeid:24,uuid:"C736FEBE-03D2-4BBA-9391-1E3D11A19721"}
 */
function onDataChange_tipo(oldValue, newValue, event) 
{
	if (tipo == scopes.globals.zparam_costos_gral_tipo_subtot) 
		elements.subtotal_id.editable = true;
	else
	{
		elements .subtotal_id.editable = false;
		subtotal_id = null
	}
	return true
}
